You can read each port communication status of Communication Server at SCADA Server by using Analog or Digital Tag.
Communication status value of Digital Input
<Table 1> is tag argument and value for communication status value.
<Table 2> is address and contents for Digital Input communication status data.
| Tag argument | Value | Contents |
| PORT | 500 + port number or 10000 + port number |
when maximum port number = 256 : 500 + no. when maximum port number = 10000 : 10000 + no. example) 1 Port : 501 or 10001 |
| Address | 000.0 | On = communication OK Off = communication Error |
| <Table 1> Tag argument and value for communication status value | ||
| Address | Contents |
Remarks |
| 000.0 | On : communication OK Off :communication Error |
Timeout error status for port |
| 000.1 | 5 consecutive Timeout error status for port |
|
| 000.2 | 10 consecutive Timeout error status for port |
|
| 000.3 | 20 consecutive Timeout error status for port |
|
| 000.4 | 30 consecutive Timeout error status for port |
|
| 001.0 | On : in dialup status Off : don't dialup |
dialup status when using 'Dialup Settings' |
| 001.C | On or Off ( can use when setting 'Use Device Information' at 'Edit port file')
|
CTS status of Com port |
| 001.D | DSR status of Com port |
|
| 001.E | RING status of Com port |
|
| 001.F | RLSD status of Com port |
|
| 002.0 | Off : primary device On :secondary device |
device status when using 'Line Duplex' |
| 003.0 | On : Timeout Off : comm. OK |
Timeout status when write command |
| 003.1 | On : Code bad Off : comm. OK |
Timeout status when write command |
| 004.0 | On : recognize opponent server Off : don't recognize |
recognize status when using 'Computer Duplex' |
| 004.1 | On : Master this computer |
master computer status when using 'Computer Duplex' |
| 004.2 | On : Master opponent computer |
|
| 004.3 | On : Timeout this computer |
Timeout status when using 'Computer Duplex' |
| 004.4 | On : Timeout opponent computer |
|
| 10006.0 | Off : communication OK On :communication Error |
Timeout error status for each station ( station of DIO tab ) |
| 10006.1 | 5 consecutive Timeout error status for each station |
|
| 10006.2 | 10 consecutive Timeout error status for each station |
|
| 10006.3 | 20 consecutive Timeout error status for each station |
|
| 10006.4 | 30 consecutive Timeout error status for each station |
|
| 10007.0 | Off : communication OK On :communication Error |
Code bad error status for each station |
| 10007.1 | 5 consecutive Code bad error status for each station |
|
| 10007.2 | 10 consecutive Code bad error status for each station |
|
| 10007.3 | 20 consecutive Code bad error status for each station |
|
| 10007.4 | 30 consecutive Code bad error status for each station |
|
| 10106.0~4 | Off : communication OK On :communication Error |
read Timeout error status for each station, .... |
| 10107.0~4 | read Code bad error status for each station, .... |
|
| 10206.0~4 | Off : communication OK On :communication Error |
bit write Timeout error status for each station, .... |
| 10207.0~4 | bit write Code bad error status for each station, .... |
|
| 10306.0~4 | Off : communication OK On :communication Error |
word write Timeout error status for each station, .... |
| 10307.0~4 | word write Code bad error status for each station, .... |
|
| <Table 2> Address and contents for Digital Input communication status data | ||
Note) Input station number of AIO, DIO 'tab' of each Tag property.
Tag setting example 1)
PORT : 501 STATION : 0 ADDRESS : 000.0 EXTRA1 : EXTRA2 : 0 ( when maximum port number = 256 )
The setting parameter shown above is an example of Timeout error status for port 001. ( On : communication OK, Off :communication Error )
Tag setting example 2)
PORT : 502 Station of DIO 'Tab' : 3 ADDRESS : 10006.1 EXTRA1 : EXTRA2 : 0 ( when maximum port number = 256 )
The setting parameter shown above is an example of 5 consecutive Timeout error status for port 002, station 3. ( Off : communication OK, On :communication Error )
Communication status value of Analog Input
<Table 3> is address and contents for Analog Input communication status data.
| Address | Remarks |
| 0005 | success rate of each port. 0 ~ 100 % |
| 0006 | failure rate of each port. 0 ~ 100 % |
| 0007 | success rate of each port for primay device. 0 ~ 100 % |
| 0008 | success rate of each port for secondary device. 0 ~ 100 % |
| 0009 | number of write waiting item for each port |
| 10000 | communication retry count for each port and station |
| 10001 | communication Timeout count for each port and station |
| 10002 | communication Code bad count for each port and station |
| 10003 | communication success rate for each port and station. 0 ~ 100% |
| 10004 | consecutive Timeout count for each port and station |
| 10005 | consecutive Code bad count for each port and station |
| 10100 | number of read request communication for each port and station |
| 10101 | Timeout count of read communication for each port and station |
| 10102 | Code bad count of read communication for each port and station |
| 10103 | success rate of read communication for each port and station. 0 ~ 100% |
| 10104 | consecutive Timeout count of read communication for each port and station |
| 10105 | consecutive Code bad count of read communication for each port and station |
| 10200 | number of bit write request communication for each port and station |
| 10201 | Timeout count of bit write communication for each port and station |
| 10202 | Code bad count of bit write communication for each port and station |
| 10203 | success rate of bit write communication for each port and station. 0 ~ 100% |
| 10204 | consecutive Timeout count of bit write communication for each port and station |
| 10205 | consecutive Code bad count of bit wirite communication for each port and station |
| 10300 | number of bit write request communication for each port and station |
| 10301 | Timeout count of word write communication for each port and station |
| 10302 | Code bad count of word write communication for each port and station |
| 10303 | success rate of word write communication for each port and station. 0 ~ 100% |
| 10304 | consecutive Timeout count of word write communication for each port and station |
| 10305 | consecutive Code bad count of word wirite communication for each port and station |
| <Table 3> Address and contents for Analog Input communication status data | |
Note) Input station number of AIO, DIO 'tab' of each Tag property.
Tag setting example 1)
PORT : 501 STATION : 0 ADDRESS : 0005 EXTRA1 : EXTRA2 : 0 ( when maximum port number = 256 )
The setting parameter shown above is an example of success rate for port 001. ( 0 ~ 100 % )
Tag setting example 2)
PORT : 502 Station of DIO 'Tab' : 1 ADDRESS : 10003 EXTRA1 : EXTRA2 : 0 ( when maximum port number = 256 )
The setting parameter shown above is an example of communication success rate for port 002, station 1. ( 0 ~ 100 % )
Communication status value of Digital Output
<Table 4> is communication setting parameters for Digital Output Tag.
Extra1 parameter of communication setting for Digital Output Tag use '#DO#' string.
| Address | Extra1 | Remarks |
Support |
| 0010 | #DO# | On : try manual dialup connection, Off : cancel or hang up dialup connection. ( when using 'Modem' device ) |
|
| 0011 | #DO# | On : automatic connection of Modem device Off : manual connection of Modem device |
10.1.1 or higher |
| 0012 | #DO# | On : initialization of Modem error |
10.2.6 or higher |
| 0020 | #DO# | On : change to secondary Device, Off : change to primary Device. ( when using 'Line Duplex' ) |
|
| 0028 | #DO# | On : communication 'Pause' command for each port |
|
| 100100 | #DO# | enable/disable of each port station |
|
| <Table 4> Communication setting parameters for Digital Output Tag | |||
Relate items)